
<!-- 登陆后始终显示的页面底部那个栏 -->
<template>
  <el-row class="center" type="flex" justify="center" align="middle">
    <el-space direction="vertical">
      <el-text class="mx-1" type="info" size="large">
        <el-icon>
          <School />
        </el-icon> 桂林信息科技学院
        &numsp;&numsp;<el-icon>
          <Wallet />
        </el-icon> 手机商城项目</el-text>
      <el-text class="mx-1" type="info" size="large">
        <el-icon>
          <User />
        </el-icon> 何燕静 &numsp;&numsp;<el-icon>
          <Postcard />
        </el-icon> 2031200103 &numsp;&numsp;<el-icon>
          <Calendar />
        </el-icon>{{ today }}</el-text>
    </el-space>
  </el-row>
</template>
<script>
export default {

  name: 'Footer',
  props: {
    msg: String
  },
  data() {
    return {
      today: ''
    }
  },
  mounted() {
    this.today = this.getCurrentDate();
  },
  methods: {
    getCurrentDate() {
      let now = new Date();
      let year = now.getFullYear();
      let month = now.getMonth() + 1;
      let day = now.getDate();
      return year + "年" + month + "月" + day + '日';
    }
  }
}
</script>
<style>
.center {
  height: 100%;
}</style>